@import url("reset.css");

body{
	height: 100vh;
	background: rgb(245,245,245);
}

header {
	margin: 0 auto;
	height: 1.333333rem;
	width: 100%;
	background: #fff;
	line-height: 1.333333rem;
	position: relative;
}

.back {
	width: 0.986666rem;
	position: absolute;
	left: 0.266666rem;
	top: 0.186666rem;
}

h1 {
	text-align: center;
	font-size: 0.426666rem;
	font-weight: bold;
}

.header-right {
	width: 2.8rem;
	position: absolute;
	top: 0.053333rem;
	right: 0.213333rem;
}
#coupon{
	margin-top: 0.388888rem;
	padding: 0 3%;
}
#coupon img{
	margin: 0 auto;
	width: 100%;
	display: none;
}
#coupon img.active{
	animation: img .3s;
}
@keyframes img{
	from{opacity: 0;}
	to{opacity: 1;}
}
#tab{
	width: 9.555555rem;
	height: 0.777777rem;
	margin: 0 auto;
	border: 1px solid rgba(255, 141, 26, 1);
	box-sizing: border-box;
	border-radius: 0.166666rem;
	overflow: hidden;
	margin-top: 0.277777rem;
}

#tab ul li{
	width: 50%;
	line-height: 0.777777rem;
	text-align: center;
	color: rgba(56, 56, 56, 1);
}
#tab ul li.active{
	background: rgba(255, 141, 26, 1);
	color: #fff;
}
#coupon img:first-of-type{
	display: block;
}

